package com.fzfnn.scrapbook.service;


import com.fzfnn.scrapbook.entity.Journal;
import com.fzfnn.scrapbook.util.R;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface JournalCommonService {
    R getJournal();

    R getJournalbyPublic();

    R getJournalbyId(Integer journalId, String token);

    R getPublicJournalsByPage(int page, int size);

    R getJournalsFromFollowedUsers(String token);

    // 新增个性化推荐分页接口
    R getRecommendedJournalsByPage(String token, int page, int size);



}
